package com.yibo.support.constant;

/**
 * 易博全局常量
 *
 * @author zhanglei
 */
public final class YBConstant {

    private YBConstant(){}

    public static final String API_URL = "/api/v1";

    public static final String CLI_IP = "cli_ip";

    public static final String TOKEN = "token";

    public static final String YIBO_USER_REDIS_PREFIX_IP = "yibo:user:ip:";
    public static final String YIBO_USER_REDIS_PREFIX_TOKEN = "yibo:user:token:";
    public static final String YIBO_USER_REDIS_PREFIX_USER_ID = "yibo:user:userId:";

    public static final String LOCAL_IP = "0:0:0:0:0:0:0:1";

    public static final String SCHEMA = "";

    public static final String REQUEST_PARM_TYPE = "x-www-form-urlencoded";

    public static final String REQUEST_BODY_TYPE = "application/json";

    public static final String AUTH = "Authorization";
}
